package com.dkd.manage.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 策略管理对象 tb_policy
 *
 * @author xwq
 * @date 2024-10-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel(description = "策略管理对象")
public class Policy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 策略id */
    @ApiModelProperty(value = "策略id", example = "1")
    private Long policyId;

    /** 策略名称 */
    @ApiModelProperty(value = "策略名称")
    @Excel(name = "策略名称")
    private String policyName;

    /** 策略方案，如：80代表8折 */
    @ApiModelProperty(value = "策略方案，如：80代表8折")
    @Excel(name = "策略方案，如：80代表8折")
    private Long discount;
}